package com.yenlien.traceyun.breed.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.yenlien.traceyun.business.entity.TraceScanEntity;
import com.yenlien.traceyun.business.trace.Trace;

/**
 * 报损管理
 *
 * @author maybe
 * @date 2020年9月22日
 */
@Entity
@Table(name = "t_breed_loss")
public class Loss extends TraceScanEntity {
    @Column
    private String breedId;                    //养殖ID
    @Column
    private String time;                    //报损时间
    @Column
    private int number;                        //报损数量
    @Column
    private String principalId;                //负责人ID
    @Column
    private String principalName;            //负责人姓名
    @Column
    private String reason;                    //报损原因

    public String getBreedId() {
        return breedId;
    }

    public void setBreedId(String breedId) {
        this.breedId = breedId;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getPrincipalId() {
        return principalId;
    }

    public void setPrincipalId(String principalId) {
        this.principalId = principalId;
    }

    public String getPrincipalName() {
        return principalName;
    }

    public void setPrincipalName(String principalName) {
        this.principalName = principalName;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }
}
